home *** CD-ROM | disk | FTP | other *** search
/ AGA Toolkit '97 / The AGA Toolkit '97.iso / programming / asm / popt / dhr020.a < prev    next >
Encoding:
Text File  |  1996-09-07  |  24.2 KB  |  607 lines

  1. ; POPT OUTPUT "work:dev/c/progs/popt/dhr020.a"
  2. ; FLAGS=debug 68020/030 
  3. ; call_refs='' call_sets=D0/D1/A0/A1 used_rts=D0/D2-D7/A2-A6
  4.  
  5.     section    text,code
  6.     xdef    _LOOPS
  7.     section    data,data
  8.     ds.w    0
  9. _LOOPS    dc.l    50000
  10.     xdef    _IntGlob
  11.     section    bss,bss
  12.     ds.w    0
  13. _IntGlob ds.b    4
  14.     xdef    _BoolGlob
  15.     ds.w    0
  16. _BoolGlob ds.b    4
  17.     xdef    _Char1Glob
  18.     ds.w    0
  19. _Char1Glob ds.b    1
  20.     xdef    _Char2Glob
  21.     ds.w    0
  22. _Char2Glob ds.b    1
  23.     xdef    _Array1Glob
  24.     ds.w    0
  25. _Array1Glob ds.b    204
  26.     xdef    _Array2Glob
  27.     ds.w    0
  28. _Array2Glob ds.b    10404
  29.     xdef    _PtrGlb
  30.     ds.w    0
  31. _PtrGlb    ds.b    4
  32.     xdef    _PtrGlbNext
  33.     ds.w    0
  34. _PtrGlbNext ds.b    4
  35.     section    text,code
  36.     ds.l    0
  37.     procstart
  38.     xdef    _main
  39. _main    move.l    D2,-(sp)        ; ref=0480 set=0080 live=f8fc
  40.     move.l    #5000,_LOOPS(A4)    ; ref=0010 set=0000 live=f8fc
  41.     bra    l3            ; ref=0010 set=0000 live=f8fc
  42. l2    move.l    _LOOPS(A4),D0        ; ref=0010 set=0100 live=fdfc
  43.     moveq    #85,D1            ; ref=0000 set=0200 live=fffc
  44.     not.b    D1            ; ref=0200 set=0200 live=fffc
  45.     bsr    __muls            ; ref=0390 set=0383 live=fdfc
  46.     move.l    #1000,D1        ; ref=0000 set=0200 live=fffc
  47.     bsr    __muls            ; ref=0390 set=0383 live=fdfc
  48.     move.l    D2,D1            ; ref=0400 set=0200 live=fbfc
  49.     addq.l    #1,D1            ; ref=0200 set=0200 live=fbfc
  50.     bsr    __divs            ; ref=0390 set=0383 live=f9fc
  51.     move.l    D0,_LOOPS(A4)        ; ref=0110 set=0000 live=f8fc
  52. l3    bsr    _Proc0            ; ref=0090 set=0383 live=f9fc
  53.     move.l    D0,D2            ; ref=0100 set=0400 live=fcfc
  54.     cmp.l    #15000,D2        ; ref=0400 set=0000 live=fcfc
  55.     blt    l2            ; ref=0010 set=0000 live=fcfc
  56.     moveq.l    #0,D0            ; ref=0000 set=0100 live=f9fc
  57.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=fdfc
  58.     rts                ; ref=fdfc set=0080 live=fd7c
  59.     procend
  60.     procstart
  61.     xdef    _fake
  62. _fake    rts                ; ref=fdfc set=0080 live=fd7c
  63.     procend
  64.     procstart
  65.     xdef    _Proc0
  66. _Proc0    movem.l    D2-D7,-(sp)        ; ref=fc80 set=0080 live=00fc
  67.     link    A5,#-76            ; ref=00a0 set=00a0 live=00fc
  68.     bsr    _Forbid            ; ref=0090 set=0383 live=00fc
  69.     bsr    _timer            ; ref=0090 set=0383 live=01fc
  70.     move.l    D0,D4            ; ref=0100 set=1000 live=10fc
  71.     moveq.l    #0,D7            ; ref=0000 set=8000 live=90fc
  72.     bra    l19            ; ref=0010 set=0000 live=90fc
  73. l16    addq.l    #1,D7            ; ref=8000 set=8000 live=90fc
  74. l19    cmp.l    _LOOPS(A4),D7        ; ref=8010 set=0000 live=90fc
  75.     blt    l16            ; ref=0010 set=0000 live=90fc
  76.     bsr    _timer            ; ref=0090 set=0383 live=11fc
  77.     move.l    D0,D6            ; ref=0100 set=4000 live=50fc
  78.     sub.l    D4,D6            ; ref=5000 set=4000 live=40fc
  79.     bsr    _Permit            ; ref=0090 set=0383 live=40fc
  80.     pea    48.W            ; ref=0090 set=0080 live=40fc
  81.     bsr    _malloc            ; ref=0090 set=0383 live=41fc
  82.     move.l    D0,_PtrGlbNext(A4)    ; ref=0110 set=0000 live=40fc
  83.     pea    48.W            ; ref=0090 set=0080 live=40fc
  84.     bsr    _malloc            ; ref=0090 set=0383 live=41fc
  85.     move.l    D0,A0            ; ref=0100 set=0001 live=40fd
  86.     move.l    A0,_PtrGlb(A4)        ; ref=0011 set=0000 live=40fd
  87.     moveq.l    #2,D0            ; ref=0000 set=0100 live=41fd
  88.     move.l    _PtrGlbNext(A4),(A0)    ; ref=0011 set=0000 live=41fd
  89.     clr.l    4(A0)            ; ref=0001 set=0000 live=41fd
  90.     move.l    D0,8(A0)        ; ref=0101 set=0000 live=40fd
  91.     moveq.l    #40,D0            ; ref=0000 set=0100 live=41fd
  92.     move.l    D0,12(A0)        ; ref=0101 set=0000 live=40fd
  93.     pea.l    l34(pc)            ; ref=0080 set=0080 live=40fd
  94.     pea.l    16(A0)            ; ref=0081 set=0080 live=40fc
  95.     bsr    _strcpy            ; ref=0090 set=0383 live=40fc
  96.     lea    16(sp),sp        ; ref=0080 set=0080 live=40fc
  97.     moveq.l    #10,D0            ; ref=0000 set=0100 live=41fc
  98.     move.l    D0,_Array2Glob+1660(A4)    ; ref=0110 set=0000 live=40fc
  99.     bsr    _timer            ; ref=0090 set=0383 live=41fc
  100.     move.l    D0,D4            ; ref=0100 set=1000 live=50fc
  101.     bsr    _Forbid            ; ref=0090 set=0383 live=50fc
  102.     moveq.l    #0,D7            ; ref=0000 set=8000 live=d0fc
  103.     bra    l23            ; ref=0010 set=0000 live=d0fc
  104. l20    bsr    _Proc5            ; ref=0090 set=0383 live=d0fc
  105.     bsr    _Proc4            ; ref=0090 set=0383 live=d0fc
  106.     moveq.l    #2,D0            ; ref=0000 set=0100 live=d1fc
  107.     move.l    D0,-4(A5)        ; ref=0120 set=0000 live=d0fc
  108.     moveq.l    #3,D2            ; ref=0000 set=0400 live=d4fc
  109.     pea.l    l35(pc)            ; ref=0080 set=0080 live=d4fc
  110.     pea.l    -76(A5)            ; ref=00a0 set=0080 live=d4fc
  111.     bsr    _strcpy            ; ref=0090 set=0383 live=d4fc
  112.     moveq.l    #1,D0            ; ref=0000 set=0100 live=d5fc
  113.     move.l    D0,-14(A5)        ; ref=0120 set=0000 live=d4fc
  114.     pea.l    -76(A5)            ; ref=00a0 set=0080 live=d4fc
  115.     pea.l    -45(A5)            ; ref=00a0 set=0080 live=d4fc
  116.     bsr    _Func2            ; ref=0090 set=0383 live=d5fc
  117.     lea    16(sp),sp        ; ref=0080 set=0080 live=d5fc
  118.     moveq.l    #0,D1            ; ref=0000 set=0200 live=d7fc
  119.     tst.l    D0            ; ref=0100 set=0000 live=d6fc
  120.     seq.b    D1            ; ref=0200 set=0200 live=d6fc
  121.     neg.b    D1            ; ref=0200 set=0200 live=d6fc
  122.     move.l    D1,_BoolGlob(A4)    ; ref=0210 set=0000 live=d4fc
  123.     bra    l25            ; ref=0010 set=0000 live=d4fc
  124. l24    move.w    -2(A5),D0        ; ref=0020 set=0100 live=d5fc
  125.     ext.l    D0            ; ref=0100 set=0100 live=d5fc
  126.     move.l    D0,D1            ; ref=0100 set=0200 live=d7fc
  127.     asl.l    #2,D1            ; ref=0200 set=0200 live=d7fc
  128.     add.l    D1,D0            ; ref=0300 set=0100 live=d5fc
  129.     sub.l    D2,D0            ; ref=0500 set=0100 live=d5fc
  130.     move.l    D0,-8(A5)        ; ref=0120 set=0000 live=d4fc
  131.     pea.l    -8(A5)            ; ref=00a0 set=0080 live=d4fc
  132.     move.l    D2,-(sp)        ; ref=0480 set=0080 live=d4fc
  133.     move.l    -4(A5),-(sp)        ; ref=00a0 set=0080 live=d4fc
  134.     bsr    _Proc7            ; ref=0090 set=0383 live=d4fc
  135.     lea    12(sp),sp        ; ref=0080 set=0080 live=d4fc
  136.     addq.l    #1,-4(A5)        ; ref=0020 set=0000 live=d4fc
  137. l25    cmp.l    -4(A5),D2        ; ref=0420 set=0000 live=d4fc
  138.     bgt    l24            ; ref=0010 set=0000 live=d4fc
  139.     move.l    -8(A5),-(sp)        ; ref=00a0 set=0080 live=d4fc
  140.     move.l    -4(A5),-(sp)        ; ref=00a0 set=0080 live=d4fc
  141.     pea.l    _Array2Glob(A4)        ; ref=0090 set=0080 live=d4fc
  142.     pea.l    _Array1Glob(A4)        ; ref=0090 set=0080 live=d4fc
  143.     bsr    _Proc8            ; ref=0090 set=0383 live=d4fc
  144.     move.l    _PtrGlb(A4),(sp)    ; ref=0090 set=0000 live=d4fc
  145.     bsr    _Proc1            ; ref=0090 set=0383 live=d4fc
  146.     lea    16(sp),sp        ; ref=0080 set=0080 live=d4fc
  147.     moveq.l    #65,D3            ; ref=0000 set=0800 live=dcfc
  148.     bra    l30            ; ref=0010 set=0000 live=dcfc
  149. l27    pea    67.W            ; ref=0090 set=0080 live=dcfc
  150.     move.b    D3,D0            ; ref=0800 set=0100 live=ddfc
  151.     ext.w    D0            ; ref=0100 set=0100 live=ddfc
  152.     ext.l    D0            ; ref=0100 set=0100 live=ddfc
  153.     move.l    D0,-(sp)        ; ref=0180 set=0080 live=dcfc
  154.     bsr    _Func1            ; ref=0090 set=0383 live=ddfc
  155.     addq.l    #8,sp            ; ref=0080 set=0080 live=ddfc
  156.     cmp.l    -14(A5),D0        ; ref=0120 set=0000 live=dcfc
  157.     bne    l32            ; ref=0010 set=0000 live=dcfc
  158.     pea.l    -14(A5)            ; ref=00a0 set=0080 live=dcfc
  159.     clr.l    -(sp)            ; ref=0080 set=0080 live=dcfc
  160.     bsr    _Proc6            ; ref=0090 set=0383 live=dcfc
  161.     addq.l    #8,sp            ; ref=0080 set=0080 live=dcfc
  162. l32    addq.b    #1,D3            ; ref=0800 set=0800 live=dcfc
  163. l30    cmp.b    _Char2Glob(A4),D3    ; ref=0810 set=0000 live=dcfc
  164.     ble    l27            ; ref=0010 set=0000 live=dcfc
  165.     move.l    D2,D0            ; ref=0400 set=0100 live=d1fc
  166.     move.l    -4(A5),D1        ; ref=0020 set=0200 live=d3fc
  167.     bsr    __muls            ; ref=0390 set=0383 live=d1fc
  168.     move.l    D0,-8(A5)        ; ref=0120 set=0000 live=d1fc
  169.     move.l    -4(A5),D1        ; ref=0020 set=0200 live=d3fc
  170.     bsr    __divs            ; ref=0390 set=0383 live=d1fc
  171.     move.l    D0,D1            ; ref=0100 set=0200 live=d2fc
  172.     move.w    -6(A5),D0        ; ref=0020 set=0100 live=d3fc
  173.     neg.w    D1            ; ref=0200 set=0200 live=d3fc
  174.     add.w    D0,D1            ; ref=0300 set=0200 live=d2fc
  175.     ext.l    D1            ; ref=0200 set=0200 live=d2fc
  176.     move.l    D1,D0            ; ref=0200 set=0100 live=d3fc
  177.     asl.l    #3,D1            ; ref=0200 set=0200 live=d3fc
  178.     sub.l    D0,D1            ; ref=0300 set=0200 live=d2fc
  179.     sub.l    -4(A5),D1        ; ref=0220 set=0200 live=d2fc
  180.     move.l    D1,-(sp)        ; ref=0280 set=0080 live=d0fc
  181.     bsr    _fake            ; ref=0090 set=0383 live=d0fc
  182.     pea.l    -4(A5)            ; ref=00a0 set=0080 live=d0fc
  183.     bsr    _Proc2            ; ref=0090 set=0383 live=d0fc
  184.     addq.l    #8,sp            ; ref=0080 set=0080 live=d0fc
  185.     addq.l    #1,D7            ; ref=8000 set=8000 live=d0fc
  186. l23    cmp.l    _LOOPS(A4),D7        ; ref=8010 set=0000 live=d0fc
  187.     blt    l20            ; ref=0010 set=0000 live=d0fc
  188.     bsr    _Permit            ; ref=0090 set=0383 live=50fc
  189.     bsr    _timer            ; ref=0090 set=0383 live=51fc
  190.     sub.l    D4,D0            ; ref=1100 set=0100 live=41fc
  191.     move.l    D0,D5            ; ref=0100 set=2000 live=60fc
  192.     sub.l    D6,D5            ; ref=6000 set=2000 live=20fc
  193.     move.l    D5,D0            ; ref=2000 set=0100 live=21fc
  194.     move.l    #1000,D1        ; ref=0000 set=0200 live=23fc
  195.     bsr    __mods            ; ref=0390 set=0383 live=21fc
  196.     move.l    D0,-(sp)        ; ref=0180 set=0080 live=20fc
  197.     move.l    D5,D0            ; ref=2000 set=0100 live=21fc
  198.     move.l    #1000,D1        ; ref=0000 set=0200 live=23fc
  199.     bsr    __divs            ; ref=0390 set=0383 live=21fc
  200.     move.l    D0,-(sp)        ; ref=0180 set=0080 live=20fc
  201.     move.l    _LOOPS(A4),-(sp)    ; ref=0090 set=0080 live=20fc
  202.     pea.l    l36(pc)            ; ref=0080 set=0080 live=20fc
  203.     bsr    _printf            ; ref=0090 set=0383 live=20fc
  204.     move.l    _LOOPS(A4),D0        ; ref=0010 set=0100 live=21fc
  205.     move.l    #1000,D1        ; ref=0000 set=0200 live=23fc
  206.     bsr    __muls            ; ref=0390 set=0383 live=21fc
  207.     addq.l    #1,D5            ; ref=2000 set=2000 live=21fc
  208.     move.l    D5,D1            ; ref=2000 set=0200 live=23fc
  209.     bsr    __divs            ; ref=0390 set=0383 live=21fc
  210.     move.l    D0,(sp)            ; ref=0180 set=0000 live=20fc
  211.     pea.l    l37(pc)            ; ref=0080 set=0080 live=20fc
  212.     bsr    _printf            ; ref=0090 set=0383 live=207c
  213.     move.l    D5,D0            ; ref=2000 set=0100 live=017c
  214.     unlk    A5            ; ref=0020 set=00a0 live=01fc
  215.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=05fc
  216.     move.l    (sp)+,D3        ; ref=0080 set=0880 live=0dfc
  217.     move.l    (sp)+,D4        ; ref=0080 set=1080 live=1dfc
  218.     move.l    (sp)+,D5        ; ref=0080 set=2080 live=3dfc
  219.     move.l    (sp)+,D6        ; ref=0080 set=4080 live=7dfc
  220.     move.l    (sp)+,D7        ; ref=0080 set=8080 live=fdfc
  221.     rts                ; ref=fdfc set=0080 live=fd7c
  222.     procend
  223.     procstart
  224.     xdef    _timer
  225. _timer    move.l    D2,-(sp)        ; ref=0480 set=0080 live=f8fc
  226.     link    A5,#-8            ; ref=00a0 set=00a0 live=f8fc
  227.     pea.l    -8(A5)            ; ref=00a0 set=0080 live=f8fc
  228.     pea.l    -4(A5)            ; ref=00a0 set=0080 live=f8fc
  229.     bsr    _CurrentTime        ; ref=0090 set=0383 live=f8fc
  230.     addq.l    #8,sp            ; ref=0080 set=0080 live=f8fc
  231.     move.l    -4(A5),D0        ; ref=0020 set=0100 live=f9fc
  232.     move.l    #1000,D1        ; ref=0000 set=0200 live=fbfc
  233.     bsr    __mulu            ; ref=0390 set=0383 live=f9fc
  234.     move.l    D0,D2            ; ref=0100 set=0400 live=fcfc
  235.     move.l    -8(A5),D0        ; ref=0020 set=0100 live=fdfc
  236.     move.l    #1000,D1        ; ref=0000 set=0200 live=fffc
  237.     bsr    __divu            ; ref=0390 set=0383 live=fd7c
  238.     add.l    D2,D0            ; ref=0500 set=0100 live=f97c
  239.     unlk    A5            ; ref=0020 set=00a0 live=f9fc
  240.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=fdfc
  241.     rts                ; ref=fdfc set=0080 live=fd7c
  242.     procend
  243.     procstart
  244.     xdef    _Proc1
  245. _Proc1    move.l    A3,-(sp)        ; ref=0088 set=0080 live=fcf4
  246.     move.l    A2,-(sp)        ; ref=0084 set=0080 live=fcf0
  247.     move.l    l63-4(sp),A2        ; ref=0080 set=0004 live=fcf4
  248.     move.l    (A2),A3            ; ref=0004 set=0008 live=fcfc
  249.     move.l    _PtrGlb(A4),A1        ; ref=0010 set=0002 live=fcfe
  250.     moveq.l    #11,D0            ; ref=0000 set=0100 live=fdfe
  251. l67    move.l    (A1)+,(A3)+        ; ref=000a set=000a live=fdfe
  252.     dbf    D0,l67            ; ref=0110 set=0100 live=fdfe
  253.     moveq.l    #5,D0            ; ref=0000 set=0100 live=fdf4
  254.     move.l    D0,12(A2)        ; ref=0104 set=0000 live=fdf4
  255.     move.l    (A2),A0            ; ref=0004 set=0001 live=fdf5
  256.     move.l    D0,12(A0)        ; ref=0101 set=0000 live=fcf5
  257.     move.l    A0,(A0)            ; ref=0001 set=0000 live=fcf5
  258.     move.l    A0,-(sp)        ; ref=0081 set=0080 live=fcf4
  259.     bsr    _Proc3            ; ref=0090 set=0383 live=fcf4
  260.     addq.l    #4,sp            ; ref=0080 set=0080 live=fcf4
  261.     move.l    (A2),A0            ; ref=0004 set=0001 live=fcf5
  262.     tst.l    4(A0)            ; ref=0001 set=0000 live=fcf5
  263.     bne    l59            ; ref=0010 set=0000 live=fcf5
  264.     moveq.l    #6,D0            ; ref=0000 set=0100 live=fdf5
  265.     move.l    D0,12(A0)        ; ref=0101 set=0000 live=fcf5
  266.     pea.l    8(A0)            ; ref=0081 set=0080 live=fcf4
  267.     move.l    8(A2),-(sp)        ; ref=0084 set=0080 live=fcf4
  268.     bsr    _Proc6            ; ref=0090 set=0383 live=fcf4
  269.     move.l    (A2),A0            ; ref=0004 set=0001 live=fcf1
  270.     move.l    _PtrGlb(A4),A1        ; ref=0010 set=0002 live=fcf3
  271.     move.l    (A1),(A0)        ; ref=0003 set=0000 live=fcf1
  272.     pea.l    12(A0)            ; ref=0081 set=0080 live=fcf1
  273.     pea    10.W            ; ref=0090 set=0080 live=fcf1
  274.     move.l    12(A0),-(sp)        ; ref=0081 set=0080 live=fcf0
  275.     bsr    _Proc7            ; ref=0090 set=0383 live=fdf0
  276.     lea    20(sp),sp        ; ref=0080 set=0080 live=fdf0
  277.     bra    l60            ; ref=0010 set=0000 live=fdf0
  278. l59    move.l    (A2),A0            ; ref=0004 set=0001 live=fcf5
  279.     moveq.l    #11,D0            ; ref=0000 set=0100 live=fdf5
  280.     move.l    A2,A1            ; ref=0004 set=0002 live=fdf3
  281. l69    move.l    (A0)+,(A1)+        ; ref=0003 set=0003 live=fdf3
  282.     dbf    D0,l69            ; ref=0110 set=0100 live=fdf3
  283. l60    move.l    (sp)+,A2        ; ref=0080 set=0084 live=fdf4
  284.     move.l    (sp)+,A3        ; ref=0080 set=0088 live=fdfc
  285.     rts                ; ref=fdfc set=0080 live=fd7c
  286. l63    equ    16
  287.     procend
  288.     procstart
  289.     xdef    _Proc2
  290. _Proc2    move.l    D2,-(sp)        ; ref=0480 set=0080 live=fafc
  291.     moveq.l    #10,D0            ; ref=0000 set=0100 live=fbfc
  292.     move.l    l82-4(sp),A0        ; ref=0080 set=0001 live=fbfd
  293.     add.l    (A0),D0            ; ref=0101 set=0100 live=fbfd
  294. l70    cmp.b    #65,_Char1Glob(A4)    ; ref=0010 set=0000 live=fbfd
  295.     bne    l75            ; ref=0010 set=0000 live=fbfd
  296.     subq.l    #1,D0            ; ref=0100 set=0100 live=f9fd
  297.     move.l    D0,D2            ; ref=0100 set=0400 live=fdfd
  298.     sub.l    _IntGlob(A4),D2        ; ref=0410 set=0400 live=fdfd
  299.     move.l    D2,(A0)            ; ref=0401 set=0000 live=f9fd
  300.     moveq.l    #0,D1            ; ref=0000 set=0200 live=fbfd
  301. l75    tst.l    D1            ; ref=0200 set=0000 live=fbfd
  302.     bne    l70            ; ref=0010 set=0000 live=fbfd
  303.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=fdfc
  304.     rts                ; ref=fdfc set=0080 live=fd7c
  305. l82    equ    12
  306.     procend
  307.     procstart
  308.     xdef    _Proc3
  309. _Proc3    move.l    A2,-(sp)        ; ref=0084 set=0080 live=fcf8
  310.     move.l    l91-4(sp),A2        ; ref=0080 set=0004 live=fcfc
  311.     tst.l    _PtrGlb(A4)        ; ref=0010 set=0000 live=fcfc
  312.     beq    l87            ; ref=0010 set=0000 live=fcfc
  313.     move.l    _PtrGlb(A4),A0        ; ref=0010 set=0001 live=fcfd
  314.     move.l    (A0),(A2)        ; ref=0005 set=0000 live=fcf8
  315.     bra    l88            ; ref=0010 set=0000 live=fcf8
  316. l87    moveq.l    #100,D0            ; ref=0000 set=0100 live=fdf8
  317.     move.l    D0,_IntGlob(A4)        ; ref=0110 set=0000 live=fcf8
  318. l88    move.l    _PtrGlb(A4),A0        ; ref=0010 set=0001 live=fcf9
  319.     pea.l    12(A0)            ; ref=0081 set=0080 live=fcf8
  320.     move.l    _IntGlob(A4),-(sp)    ; ref=0090 set=0080 live=fcf8
  321.     pea    10.W            ; ref=0090 set=0080 live=fcf8
  322.     bsr    _Proc7            ; ref=0090 set=0383 live=fdf8
  323.     lea    12(sp),sp        ; ref=0080 set=0080 live=fdf8
  324.     move.l    (sp)+,A2        ; ref=0080 set=0084 live=fdfc
  325.     rts                ; ref=fdfc set=0080 live=fd7c
  326. l91    equ    12
  327.     procend
  328.     procstart
  329.     xdef    _Proc4
  330. _Proc4    moveq    #66,D0            ; ref=0000 set=0100 live=fdfc
  331.     move.b    D0,_Char2Glob(A4)    ; ref=0110 set=0000 live=fcfc
  332.     moveq.l    #0,D0            ; ref=0000 set=0100 live=fdfc
  333.     rts                ; ref=fdfc set=0080 live=fd7c
  334.     procend
  335.     procstart
  336.     xdef    _Proc5
  337. _Proc5    moveq    #65,D0            ; ref=0000 set=0100 live=fdfc
  338.     move.b    D0,_Char1Glob(A4)    ; ref=0110 set=0000 live=fcfc
  339.     moveq.l    #0,D0            ; ref=0000 set=0100 live=fdfc
  340.     move.l    D0,_BoolGlob(A4)    ; ref=0110 set=0000 live=fdfc
  341.     rts                ; ref=fdfc set=0080 live=fd7c
  342.     procend
  343.     procstart
  344.     xdef    _Proc6
  345. _Proc6    move.l    A2,-(sp)        ; ref=0084 set=0080 live=fcf8
  346.     move.l    D2,-(sp)        ; ref=0480 set=0080 live=f8f8
  347.     move.l    l121-4(sp),D2        ; ref=0080 set=0400 live=fcf8
  348.     move.l    l121+0(sp),A2        ; ref=0080 set=0004 live=fcfc
  349.     move.l    D2,(A2)            ; ref=0404 set=0000 live=fcfc
  350.     move.l    D2,-(sp)        ; ref=0480 set=0080 live=fcfc
  351.     bsr    _Func3            ; ref=0090 set=0383 live=fdfc
  352.     addq.l    #4,sp            ; ref=0080 set=0080 live=fdfc
  353.     tst.l    D0            ; ref=0100 set=0000 live=fcfc
  354.     bne    l107            ; ref=0010 set=0000 live=fcfc
  355.     moveq.l    #3,D0            ; ref=0000 set=0100 live=fdfc
  356.     move.l    D0,(A2)            ; ref=0104 set=0000 live=fcfc
  357. l107    move.l    D2,D0            ; ref=0400 set=0100 live=f9fc
  358.     beq    l111            ; ref=0010 set=0000 live=f9fc
  359.     subq.l    #1,D0            ; ref=0100 set=0100 live=f9fc
  360.     beq    l112            ; ref=0010 set=0000 live=f9fc
  361.     subq.l    #1,D0            ; ref=0100 set=0100 live=f9fc
  362.     beq    l116            ; ref=0010 set=0000 live=f9fc
  363.     subq.l    #1,D0            ; ref=0100 set=0100 live=f9fc
  364.     beq    l110            ; ref=0010 set=0000 live=f9fc
  365.     subq.l    #1,D0            ; ref=0100 set=0100 live=f8fc
  366.     beq    l118            ; ref=0010 set=0000 live=f8fc
  367.     bra    l110            ; ref=0010 set=0000 live=f8f8
  368. l111    clr.l    (A2)            ; ref=0004 set=0000 live=f8f8
  369.     bra    l110            ; ref=0010 set=0000 live=f8f8
  370. l112    moveq.l    #100,D0            ; ref=0000 set=0100 live=f9fc
  371.     cmp.l    _IntGlob(A4),D0        ; ref=0110 set=0000 live=f8fc
  372.     bge    l114            ; ref=0010 set=0000 live=f8fc
  373.     clr.l    (A2)            ; ref=0004 set=0000 live=f8f8
  374.     bra    l110            ; ref=0010 set=0000 live=f8f8
  375. l114    moveq.l    #3,D0            ; ref=0000 set=0100 live=f9fc
  376.     move.l    D0,(A2)            ; ref=0104 set=0000 live=f8f8
  377.     bra    l110            ; ref=0010 set=0000 live=f8f8
  378. l116    moveq.l    #1,D0            ; ref=0000 set=0100 live=f9fc
  379.     move.l    D0,(A2)            ; ref=0104 set=0000 live=f8f8
  380.     bra    l110            ; ref=0010 set=0000 live=f8f8
  381. l118    moveq.l    #2,D0            ; ref=0000 set=0100 live=f9fc
  382.     move.l    D0,(A2)            ; ref=0104 set=0000 live=f8f8
  383. l110    moveq.l    #0,D0            ; ref=0000 set=0100 live=f9f8
  384.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=fdf8
  385.     move.l    (sp)+,A2        ; ref=0080 set=0084 live=fdfc
  386.     rts                ; ref=fdfc set=0080 live=fd7c
  387. l121    equ    16
  388.     procend
  389.     procstart
  390.     xdef    _Proc7
  391. _Proc7    move.l    D2,-(sp)        ; ref=0480 set=0080 live=f8fc
  392.     subq.l    #4,sp            ; ref=0080 set=0080 live=f8fc
  393.     move.l    l127-4(sp),D2        ; ref=0080 set=0400 live=fcfc
  394.     move.l    l127+0(sp),D1        ; ref=0080 set=0200 live=fefc
  395.     move.l    l127+4(sp),A0        ; ref=0080 set=0001 live=fefd
  396.     addq.l    #2,D2            ; ref=0400 set=0400 live=fefd
  397.     add.l    D1,D2            ; ref=0600 set=0400 live=fcfd
  398.     move.l    D2,(A0)            ; ref=0401 set=0000 live=f8fc
  399.     moveq.l    #0,D0            ; ref=0000 set=0100 live=f9fc
  400.     addq.l    #4,sp            ; ref=0080 set=0080 live=f9fc
  401.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=fdfc
  402.     rts                ; ref=fdfc set=0080 live=fd7c
  403. l127    equ    16
  404.     procend
  405.     procstart
  406.     xdef    _Proc8
  407. _Proc8    movem.l    D3-D5/A2/A3,-(sp)    ; ref=388c set=0080 live=c4f0
  408.     subq.l    #4,sp            ; ref=0080 set=0080 live=c4f0
  409.     move.l    l136-4(sp),A2        ; ref=0080 set=0004 live=c4f4
  410.     move.l    l136+0(sp),A3        ; ref=0080 set=0008 live=c4fc
  411.     move.l    l136+4(sp),D4        ; ref=0080 set=1000 live=d4fc
  412.     move.l    l136+8(sp),D3        ; ref=0080 set=0800 live=dcfc
  413.     addq.l    #5,D4            ; ref=1000 set=1000 live=dcfc
  414.     move.l    D4,D0            ; ref=1000 set=0100 live=ddfc
  415.     asl.l    #2,D0            ; ref=0100 set=0100 live=ddfc
  416.     move.l    D3,0(A2,D0.l)        ; ref=0904 set=0000 live=d4fc
  417.     move.l    D4,D0            ; ref=1000 set=0100 live=d5fc
  418.     addq.l    #1,D0            ; ref=0100 set=0100 live=d5fc
  419.     asl.l    #2,D0            ; ref=0100 set=0100 live=d5fc
  420.     move.l    D4,D1            ; ref=1000 set=0200 live=d7fc
  421.     asl.l    #2,D1            ; ref=0200 set=0200 live=d7fc
  422.     move.l    0(A2,D1.l),0(A2,D0.l)    ; ref=0304 set=0000 live=d4fc
  423.     moveq.l    #30,D0            ; ref=0000 set=0100 live=d5fc
  424.     add.l    D4,D0            ; ref=1100 set=0100 live=d5fc
  425.     asl.l    #2,D0            ; ref=0100 set=0100 live=d5fc
  426.     move.l    D4,0(A2,D0.l)        ; ref=1104 set=0000 live=d4fc
  427.     move.l    D4,D5            ; ref=1000 set=2000 live=f4fc
  428.     bra    l133            ; ref=0010 set=0000 live=f4fc
  429. l130    move.l    D4,D0            ; ref=1000 set=0100 live=f5fc
  430.     moveq    #51,D1            ; ref=0000 set=0200 live=f7fc
  431.     not.b    D1            ; ref=0200 set=0200 live=f7fc
  432.     bsr    __muls            ; ref=0390 set=0383 live=f5fc
  433.     move.l    D5,D1            ; ref=2000 set=0200 live=f7fc
  434.     asl.l    #2,D1            ; ref=0200 set=0200 live=f7fc
  435.     move.l    A3,A0            ; ref=0008 set=0001 live=f7fd
  436.     add.l    D0,A0            ; ref=0101 set=0001 live=f6fd
  437.     add.l    D1,A0            ; ref=0201 set=0001 live=f4fd
  438.     move.l    D4,(A0)            ; ref=1001 set=0000 live=f4fc
  439.     addq.l    #1,D5            ; ref=2000 set=2000 live=f4fc
  440. l133    move.l    D4,D1            ; ref=1000 set=0200 live=f6fc
  441.     addq.l    #1,D1            ; ref=0200 set=0200 live=f6fc
  442.     cmp.l    D5,D1            ; ref=2200 set=0000 live=f4fc
  443.     bge    l130            ; ref=0010 set=0000 live=f4fc
  444.     move.l    D4,D0            ; ref=1000 set=0100 live=d5fc
  445.     moveq    #51,D1            ; ref=0000 set=0200 live=d7fc
  446.     not.b    D1            ; ref=0200 set=0200 live=d7fc
  447.     bsr    __muls            ; ref=0390 set=0383 live=d5fc
  448.     move.l    D0,D1            ; ref=0100 set=0200 live=d6fc
  449.     move.l    D4,D0            ; ref=1000 set=0100 live=d7fc
  450.     subq.l    #1,D0            ; ref=0100 set=0100 live=d7fc
  451.     asl.l    #2,D0            ; ref=0100 set=0100 live=d7fc
  452.     move.l    A3,A0            ; ref=0008 set=0001 live=d7fd
  453.     add.l    D1,A0            ; ref=0201 set=0001 live=d5fd
  454.     add.l    D0,A0            ; ref=0101 set=0001 live=d4fd
  455.     addq.l    #1,(A0)            ; ref=0001 set=0000 live=d4fc
  456.     moveq.l    #20,D0            ; ref=0000 set=0100 live=d5fc
  457.     add.l    D4,D0            ; ref=1100 set=0100 live=d5fc
  458.     moveq    #51,D1            ; ref=0000 set=0200 live=d7fc
  459.     not.b    D1            ; ref=0200 set=0200 live=d7fc
  460.     bsr    __muls            ; ref=0390 set=0383 live=d5fc
  461.     move.l    D4,D1            ; ref=1000 set=0200 live=d7fc
  462.     asl.l    #2,D1            ; ref=0200 set=0200 live=d7fc
  463.     move.l    A3,A0            ; ref=0008 set=0001 live=d7f5
  464.     add.l    D0,A0            ; ref=0101 set=0001 live=d7f5
  465.     asl.l    #2,D4            ; ref=1000 set=1000 live=d7f5
  466.     add.l    D4,A2            ; ref=1004 set=0004 live=c7f5
  467.     add.l    D1,A0            ; ref=0201 set=0001 live=c5f5
  468.     move.l    (A2),(A0)        ; ref=0005 set=0000 live=c5f0
  469.     moveq.l    #5,D4            ; ref=0000 set=1000 live=d5f0
  470.     move.l    D4,_IntGlob(A4)        ; ref=1010 set=0000 live=c5f0
  471.     addq.l    #4,sp            ; ref=0080 set=0080 live=c5f0
  472.     move.l    (sp)+,D3        ; ref=0080 set=0880 live=cdf0
  473.     move.l    (sp)+,D4        ; ref=0080 set=1080 live=ddf0
  474.     move.l    (sp)+,D5        ; ref=0080 set=2080 live=fdf0
  475.     move.l    (sp)+,A2        ; ref=0080 set=0084 live=fdf4
  476.     move.l    (sp)+,A3        ; ref=0080 set=0088 live=fdfc
  477.     rts                ; ref=fdfc set=0080 live=fd7c
  478. l136    equ    32
  479.     procend
  480.     procstart
  481.     xdef    _Func1
  482. _Func1    move.l    D2,-(sp)        ; ref=0480 set=0080 live=f8fc
  483.     subq.l    #4,sp            ; ref=0080 set=0080 live=f8fc
  484.     move.b    l145-1(sp),D2        ; ref=0080 set=0400 live=fcfc
  485.     move.b    l145+3(sp),D1        ; ref=0080 set=0200 live=fefc
  486.     cmp.b    D2,D1            ; ref=0600 set=0000 live=f8fc
  487.     beq    l141            ; ref=0010 set=0000 live=f8fc
  488.     moveq.l    #0,D0            ; ref=0000 set=0100 live=f9fc
  489.     bra    l142            ; ref=0010 set=0000 live=f9fc
  490. l141    moveq.l    #1,D0            ; ref=0000 set=0100 live=f9fc
  491. l142    addq.l    #4,sp            ; ref=0080 set=0080 live=f9fc
  492.     move.l    (sp)+,D2        ; ref=0080 set=0480 live=fdfc
  493.     rts                ; ref=fdfc set=0080 live=fd7c
  494. l145    equ    16
  495.     procend
  496.     procstart
  497.     xdef    _Func2
  498. _Func2    movem.l    D2/D3/A2/A3,-(sp)    ; ref=0c8c set=0080 live=f8f0
  499.     move.l    l166-4(sp),A2        ; ref=0080 set=0004 live=f8f4
  500.     move.l    l166+0(sp),A3        ; ref=0080 set=0008 live=f8fc
  501.     moveq.l    #1,D2            ; ref=0000 set=0400 live=fcfc
  502. l149    subq.l    #4,sp            ; ref=0080 set=0080 live=fcfc
  503.     move.b    1(A3,D2.l),3(sp)    ; ref=0488 set=0000 live=fcfc
  504.     subq.l    #4,sp            ; ref=0080 set=0080 live=fcfc
  505.     move.b    0(A2,D2.l),3(sp)    ; ref=0484 set=0000 live=fcfc
  506.     bsr    _Func1            ; ref=0090 set=0383 live=fdfc
  507.     addq.l    #8,sp            ; ref=0080 set=0080 live=fdfc
  508.     tst.l    D0            ; ref=0100 set=0000 live=fcfc
  509.     bne    l153            ; ref=0010 set=0000 live=fcfc
  510.     moveq.l    #65,D3            ; ref=0000 set=0800 live=fcfc
  511.     addq.l    #1,D2            ; ref=0400 set=0400 live=fcfc
  512. l153    moveq.l    #1,D0            ; ref=0000 set=0100 live=fdfc
  513.     cmp.l    D2,D0            ; ref=0500 set=0000 live=fcfc
  514.     bge    l149            ; ref=0010 set=0000 live=fcfc
  515.     moveq    #88,D0            ; ref=0000 set=0100 live=f9fc
  516.     cmp.b    D0,D3            ; ref=0900 set=0000 live=f0fc
  517.     bne    l159            ; ref=0010 set=0000 live=f0fc
  518.     moveq.l    #1,D0            ; ref=0000 set=0100 live=f1f0
  519.     bra    l163            ; ref=0010 set=0000 live=f1f0
  520. l159    move.l    A3,-(sp)        ; ref=0088 set=0080 live=f0f4
  521.     move.l    A2,-(sp)        ; ref=0084 set=0080 live=f0f0
  522.     bsr    _strcmp            ; ref=0090 set=0383 live=f1f0
  523.     addq.l    #8,sp            ; ref=0080 set=0080 live=f1f0
  524.     tst.l    D0            ; ref=0100 set=0000 live=f0f0
  525.     ble    l162            ; ref=0010 set=0000 live=f0f0
  526.     moveq.l    #1,D0            ; ref=0000 set=0100 live=f1f0
  527.     bra    l163            ; ref=0010 set=0000 live=f1f0
  528. l162    moveq.l    #0,D0            ; ref=0000 set=0100 live=f1f0
  529. l163    move.l    (sp)+,D2        ; ref=0080 set=0480 live=f5f0
  530.     move.l    (sp)+,D3        ; ref=0080 set=0880 live=fdf0
  531.     move.l    (sp)+,A2        ; ref=0080 set=0084 live=fdf4
  532.     move.l    (sp)+,A3        ; ref=0080 set=0088 live=fdfc
  533.     rts                ; ref=fdfc set=0080 live=fd7c
  534. l166    equ    24
  535.     procend
  536.     procstart
  537.     xdef    _Func3
  538. _Func3    subq.l    #4,sp            ; ref=0080 set=0080 live=fcfc
  539.     move.l    l180-4(sp),D1        ; ref=0080 set=0200 live=fefc
  540.     subq.l    #2,D1            ; ref=0200 set=0200 live=fcfc
  541.     bne    l176            ; ref=0010 set=0000 live=fcfc
  542.     moveq.l    #1,D0            ; ref=0000 set=0100 live=fdfc
  543.     bra    l179            ; ref=0010 set=0000 live=fdfc
  544. l176    moveq.l    #0,D0            ; ref=0000 set=0100 live=fdfc
  545. l179    addq.l    #4,sp            ; ref=0080 set=0080 live=fdfc
  546.     rts                ; ref=fdfc set=0080 live=fd7c
  547. l180    equ    12
  548.     procend
  549.     procstart
  550.     xdef    _strcpy
  551. _strcpy    subq.l    #8,sp            ; ref=0080 set=0080 live=fdfc
  552.     move.l    l189-4(sp),A0        ; ref=0080 set=0001 live=fdfd
  553.     move.l    l189+0(sp),A1        ; ref=0080 set=0002 live=fdff
  554.     bra    l185            ; ref=0010 set=0000 live=fdff
  555. l184    move.b    (A1)+,(A0)+        ; ref=0003 set=0003 live=fdff
  556. l185    tst.b    (A1)            ; ref=0002 set=0000 live=fdff
  557.     bne    l184            ; ref=0010 set=0000 live=fdff
  558.     addq.l    #8,sp            ; ref=0080 set=0080 live=fdfc
  559.     rts                ; ref=fdfc set=0080 live=fd7c
  560. l189    equ    16
  561.     procend
  562.     procstart
  563.     xdef    _strcmp
  564. _strcmp    subq.l    #8,sp            ; ref=0080 set=0080 live=fcfc
  565.     move.l    l200-4(sp),A0        ; ref=0080 set=0001 live=fcfd
  566.     move.l    l200+0(sp),A1        ; ref=0080 set=0002 live=fcff
  567.     bra    l196            ; ref=0010 set=0000 live=fcff
  568. l192    tst.b    (A1)            ; ref=0002 set=0000 live=fcff
  569.     bne    l203            ; ref=0010 set=0000 live=fcff
  570. l196    move.b    (A0)+,D0        ; ref=0001 set=0101 live=fdff
  571.     cmp.b    (A1)+,D0        ; ref=0102 set=0002 live=fcff
  572.     beq    l192            ; ref=0010 set=0000 live=fcff
  573. l203    move.b    (A0),D0            ; ref=0001 set=0100 live=fdfe
  574.     sub.b    (A1),D0            ; ref=0102 set=0100 live=fdfc
  575.     ext.w    D0            ; ref=0100 set=0100 live=fdfc
  576.     ext.l    D0            ; ref=0100 set=0100 live=fdfc
  577.     addq.l    #8,sp            ; ref=0080 set=0080 live=fdfc
  578.     rts                ; ref=fdfc set=0080 live=fd7c
  579. l200    equ    16
  580.     procend
  581.     xref    __divu
  582.     xref    __mulu
  583.     xref    __mods
  584.     xref    __divs
  585.     xref    __muls
  586.     xref    _CurrentTime
  587.     xref    _printf
  588.     xref    _malloc
  589.     xref    _Permit
  590.     xref    _Forbid
  591. l37    dc.b    84,$68,$69,$73,$20,$6D,$61,$63,$68,$69,$6E,$65
  592.     dc.b    32,$62,$65,$6E,$63,$68,$6D,$61,$72,$6B,$73,$20
  593.     dc.b    97,$74,$20,$25,$6C,$64,$20,$64,$68,$72,$79,$73
  594.     dc.b    116,$6F,$6E,$65,$73,$2F,$73,$65,$63,$6F,$6E,$64
  595.     dc.b    10,0
  596. l36    dc.b    68,$68,$72,$79,$73,$74,$6F,$6E,$65,$20,$74,$69
  597.     dc.b    109,$65,$20,$66,$6F,$72,$20,$25,$6C,$64,$20,$70
  598.     dc.b    97,$73,$73,$65,$73,$20,$3D,$20,$25,$6C,$64,$2E
  599.     dc.b    37,$30,$33,$64,$0A,$00
  600. l35    dc.b    68,$48,$52,$59,$53,$54,$4F,$4E,$45,$20,$50,$52
  601.     dc.b    79,$47,$52,$41,$4D,$2C,$20,$32,$27,$4E,$44,$20
  602.     dc.b    83,$54,$52,$49,$4E,$47,$00
  603. l34    dc.b    68,$48,$52,$59,$53,$54,$4F,$4E,$45,$20,$50,$52
  604.     dc.b    79,$47,$52,$41,$4D,$2C,$20,$53,$4F,$4D,$45,$20
  605.     dc.b    83,$54,$52,$49,$4E,$47,$00
  606.     end
  607.